package com.aaa.module3

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import kotlinx.android.synthetic.main.activity_main3.*

@Route(path = "/module3/main3")
class Main3Activity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main3)
        initView()
    }

    private fun initView() {
        tv_1.setOnClickListener {
            ARouter.getInstance().build("/app/main").navigation()
        }
    }
}
